package com.redis.dao;

import com.redis.entity.Device;
import com.redis.entity.DeviceWithBLOBs;

import java.util.List;

public interface DeviceMapper {
    int deleteByPrimaryKey(String deviceId);

    int insert(DeviceWithBLOBs record);

    int insertSelective(DeviceWithBLOBs record);

    DeviceWithBLOBs selectByPrimaryKey(String deviceId);

    int updateByPrimaryKeySelective(DeviceWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(DeviceWithBLOBs record);

    int updateByPrimaryKey(Device record);

    List<Device> selectAll();

    List<Device> selectByDeviceId(String deviceId);
}